﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Nebular.ExpenseManagement.Model
{
    public interface IBatchJob
    {
        String JobID
        {
            get;
            set;
        }

        /// <remarks>retuns a list of database stored active batch jobs</remarks>
        IBatchJob[] GetBatchJobs();

        /// <remarks>Stores a batch job in the database job queue</remarks>
        /// <returns>bool</returns>
        Guid CreateBatchJob(string jobName);

        void UpdateBatchJob(string state, Guid jobID);
    }
}
